num_list = [1,2,3,4]
type(num_list)
print(type(num_list))

# tuple函数将列表转换为元组
num_tuple = tuple(num_list)
type(num_tuple)
print(type(num_tuple))

# list函数将元组转换为列表
num_list = list(num_tuple)
type(num_list)
print(type(num_list))